Towards Efficient Evaluation of Methods by Reduction

نویسنده

  • Paul-Thomas Kandzia
چکیده

Basic Idea For DOOD, especially when using bottom-up evaluation, optimization is essential. However, for advanced languages like F-logic 2, 4] the general syntactical techniques well{known from Datalog are not suucient; e.g. due to the rich structure of the language (comprising multiple inheritance, variables on class or method position, and rule{deened class hierarchy) magic-set transformation is applicable only for a restricted subset of F-logic. Hence, attention should also be payed to specialized optimization strategies which take advantage from semantical knowledge about certain parts of a program. As a simple example consider railway connections: There are objects belonging to a class station which have a method next giving the next station depending on one parameter, the line. We deene on lines a method dist which, for any two stations, gives the number of stations between them. With F-logic rules, the deenition is as follows: A pure bottom{up evaluation will deduce all distances between arbitrary stations and store it in the computed model, even if the user queries only one certain distance. If magic{set optimization is used, due to the recursive deeni-tion, still the distances of stations \along the way" are deduced, claiming space and iterations of the consequence operator. To overcome this problem we propose to complement the general bottom{up xpoint evaluation by functional reduction as a kind of subordinate computation taking place whenever a call to a so called computed method occurs which has been deened appropriately. Contributions The idea is similar to the aim of functional{logic programming 3] but there are crucial diierences: Instead of an equality relation over the universe, in F-logic the declarative semantics of a method deenition is a set of additional facts extending a given Herbrand{interpretation. As operational semantics functional{logic programming extends the top{down principle for the A full paper may be obtained as technical report Nr. 82 under the URL:

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Strategies to Reduce Absenteeism from the Viewpoints of Students in Shahrekord University of Medical Sciences

Background: In order to transfer teachers’ knowledge, the presence of students is necessary in the classroom. Despite numerous studies on the causes of absence, the strategies of its reduction have not been yet investigated and this study intends to address this issue. Methods: Inthis cross-sectional study 401 students were participated who were selected with systematic random sampling. The stu...

متن کامل

Selective Catalytic Reduction of CuO/SiO2 Nano-composites towards NO Reduction in Gas-phase

The xerogel samples were prepared by hydrolysis and condensation of tetraethyl orthosilicate (TEOS) by the sol-gel method. In this investigation, a new molar ratio of H2O/TEOS was determined to be 11.7. Also, the necessary amounts of tri-hydrated copper nitrate and penta-hydrated copper sulfate were added to the solution in such a manner that the concentration of the copper oxide in final solut...

متن کامل

Microbial Enhanced Oil Recovery, Wettability Alteration and Interfacial Tension Reduction by an Efficient Bacterial Consortium, ERCPPI-2

In the present study, the potential of a bacterial consortium of Enterobacter cloacae and Pseudomonas sp. (ERCPPI-2) for microbial enhanced oil recovery was investigated. Various mechanisms of enhanced oil recovery (EOR) as a result of using ERCPPI-2 and its metabolic products were studied in detail. The obtained results showed that under simulated reservoir ...

متن کامل

The Effect of Different Educational Methods in Changing Girl Students’ Negative Attitude towards Menstruation, in Intermediate Schools of Isfahan

Introduction: A Girl’s attitude towards menstruation has an important role in her future social compatibi-lity, and also her role as a mother and wife. The aim of this research was to compare three educational methods including training adolescents’ parents, adolescents via pamphlet and adolescents via discussion, in order to change their negative attitudes toward menstruation. Methods: This q...

متن کامل

Faculty Attitudes Towards Student Ratings: Do the Student Rating Scores Really Matter?

Faculty Attitudes Towards Student Ratings: Do the Student Rating Scores Really Matter? Abdolhussein Shakurnia1 Abstract Introduction: Survey on faculty attitudes towards student ratings can reveal the strengths and weaknesses of faculty evaluation and be considered as an effective measure leading to higher quality. The purpose of this study was to investigate the effect of faculty evalua...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997